<?php
/*
 * Copyright (c) 2021.  Liuhongbin All rights reserved.
 * @domain http://dkyx.cc
 * @author liuhongbin <514660094@qq.com>
 */
namespace app\common\model\open;


use app\common\model\BaseModel;

class Open extends BaseModel
{
    /**
     * 数据表主键
     * @var string
     */
    protected $pk = 'id';

    /**
     * 字段类型或者格式转换
     * @var array
     */
    protected $type = [
        'config' => 'json',
        'other_data' => 'json'
    ];

    public $_types = [
        0 => "系统插件",
        1 => "微信公众平台",
        2 => "小程序",
        3 => "企业微信",
        4 => "抖音H5",
        5 => "独立平台"
    ];
}
